﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ZedGraph;

namespace erse253_homework
{
    public partial class qqSimilarity : BaseWindowChart
    {
        public qqSimilarity(double[,] histogramdata1, double[,] histogramdata2)
        {
            InitializeComponent();
            Chart quantile = new Chart();

            double[] x = quantile.Quantile(histogramdata1);
            double[] y = quantile.Quantile(histogramdata2);

            base.GenerateLine(x, y, "q-q Similarity plot", "Original ", "Estimated ", "q-q Similarity plot");
        }
    }
}
